<template>
  <div class="home-main">
    <div class="home-header" />
    <div class="home-bottom">
      <div class="home-left">
        <div id="drag" v-drag="{a: '1'}" />
      </div>
      <div class="home-meddie" />
      <div class="home-right" />
    </div>
  </div>
</template>

<script>
export default {
    name: 'Home',
    data() {
        return {}
    },
    mounted() {
    },
    methods: {}
}
</script>

<style scoped lang="less">
  #drag {
    position: absolute;
    width: 100px;
    height: 100px;
    background: red;
    cursor: move;
  }
  .home-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    .home-header {
      width: 100%;
      height: 60px;
      background: yellow;
    }
    .home-bottom {
      flex: 1;
      background: lightyellow;
    }
  }
</style>
